﻿<%@ Page Title="" Language="C#" MasterPageFile="~/iCreateMasterPage.master" AutoEventWireup="true"
    CodeBehind="PApproval.aspx.cs" Inherits="iCreatePortal.WebForm7" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageContentPlaceHolder" runat="server">
    <div class="iCreatePage" style="height: 500px;">
        <br />
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        <br />
        <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="400px">
            <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
                <HeaderTemplate>
                    Approval - Timelog
                
</HeaderTemplate>
                




<ContentTemplate>
                    <asp:Panel ID="Panel2" runat="server" Height="500px">
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <ContentTemplate>
                                <asp:GridView ID="TimelogTasksGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                    BorderStyle="None" EmptyDataText="&lt;No data to display&gt;" GridLines="None"
                                    Width="900px" DataSourceID="XmlDataSource1">
                                    <Columns>
                                        <asp:CommandField EditText="Approve" 
                                            ShowEditButton="True" ShowInsertButton="True" NewText="Details" DeleteText="Reject" ShowDeleteButton="True">
                                            <HeaderStyle CssClass="iCreateContentLabel" Width="25px" />
                                            <ItemStyle CssClass="iCreateHeaderLabel" Width="25px" />
                                        </asp:CommandField>
                                        <asp:BoundField HeaderText="Resource">
                                            <HeaderStyle CssClass="iCreateContentLabel" />
                                            <ItemStyle CssClass="iCreateHeaderLabel" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="Project">
                                            <HeaderStyle CssClass="iCreateContentLabel" Width="200px" />
                                            <ItemStyle CssClass="iCreateHeaderLabel" Width="200px" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="Milestone">
                                            <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                            <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="WeekNo">
                                            <HeaderStyle CssClass="iCreateContentLabel" Width="60px" />
                                            <ItemStyle CssClass="iCreateHeaderLabel" Width="60px" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="Hours">
                                            <HeaderStyle CssClass="iCreateContentLabel" Width="60px" />
                                            <ItemStyle CssClass="iCreateHeaderLabel" Width="60px" />
                                        </asp:BoundField>                                        
                                    </Columns>
                                    <SelectedRowStyle Font-Bold="True" Font-Italic="True" />
                                </asp:GridView>
                            
</ContentTemplate>
</asp:UpdatePanel>





                        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/MyTasks.xml"></asp:XmlDataSource>





                    </asp:Panel>





                
</ContentTemplate>
            




</asp:TabPanel>
            <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel2">
                <HeaderTemplate>
                    Approval - Reimbursement Request
                
</HeaderTemplate>
                




<ContentTemplate>
                    <asp:Panel ID="Panel1" runat="server" Height="500px">
                        <table class="iCreatePanelTable">
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label6" runat="server" Text="Resource" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox2" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label8" runat="server" Text="Project" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox10" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label9" runat="server" Text="Milestone" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox11" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label10" runat="server" Text="Type" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox12" runat="server" CssClass="iCreateContentLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label11" runat="server" Text="Amount" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox13" runat="server" CssClass="iCreateContentLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label13" runat="server" Text="Currency" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox16" runat="server" CssClass="iCreateContentLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label12" runat="server" Text="Remarks" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox14" runat="server" CssClass="iCreateContentLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    &nbsp;
                                </td>
                                <td class="Col2">
                                    <asp:Button ID="Button3" runat="server" Text="Approve" Width="171px" />
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    &nbsp;
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox15" runat="server" CssClass="iCreateHeaderLabel" Text="Reject reason..."></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    &nbsp;
                                </td>
                                <td class="Col2">
                                    <asp:Button ID="Button4" runat="server" Text="Reject" Width="171px" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &#160;
                                </td>
                                <td>
                                    &#160;&nbsp;
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                
</ContentTemplate>
            




</asp:TabPanel>
        </asp:TabContainer>
        <br />
    </div>
</asp:Content>
